package com.eastfair.venueservice.dto;

import java.time.LocalDateTime;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 服务折扣利率
 * </p>
 *
 * @author linan
 * @since 2022-07-28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ServiceItemDiscountPageQuery", description = "服务折扣利率")
public class ServiceItemDiscountPageQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 是否启用（确认状态）：1是 已确认；0否 未确认
     */
    @ApiModelProperty(value = "是否启用（确认状态）：1是 已确认；0否 未确认")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 服务项目id
     */
    @ApiModelProperty(value = "服务项目id")
    private Long serviceItemId;
    /**
     * 展厅id
     */
    @ApiModelProperty(value = "展厅id")
    private Long spaceId;
    /**
     * 折扣开始日期
     */
    @ApiModelProperty(value = "折扣开始日期")
    private LocalDate startDate;
    /**
     * 折扣结束日期
     */
    @ApiModelProperty(value = "折扣结束日期")
    private LocalDate endDate;
    /**
     * 折扣利率（%）
     */
    @ApiModelProperty(value = "折扣利率（%）")
    private BigDecimal discount;

}
